-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] TracerProvider should own TracerContext, not share it #2221
[SDK] TracerProvider should own TracerContext, not share it #2221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks :)
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2221 +/- ##
=======================================
Coverage 87.49% 87.49%
=======================================
Files 169 169
Lines 4891 4891
=======================================
Hits 4279 4279
Misses 612 612
|
Fixes #2203
Changes
Fixed the
TracerProvider
constructor to use aunique_ptr<TracerContext>
, assuming ownership.Fixed the
LoggerProvider
constructor to use aunique_ptr<LoggerContext>
, assuming ownership.For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes